package org.example.express.mapper;

import org.example.model.domain.express.ExpressDispatchMessage;

import java.util.List;

public interface ExpressDispatchMessageMapper {
    List<ExpressDispatchMessage> selectById(Long id);

    Integer selectUnread(Long id);

    void updateDispatchMessageIsRead(Integer id);

    ExpressDispatchMessage selectLastOntByRegisterIp(Long registerIp);

    ExpressDispatchMessage selectLastOnt(Long aLong);
}
